package org.edu.modules.abutment.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;

@TableName("ve_addons_abutment_reply")
@ApiModel(value = "ve_addons_abutment_reply对象", description = "对接回复")
public class VeAddonsAbutmentReply
        implements Serializable {
    private static final long serialVersionUID = 1L;
    @TableId(type = IdType.AUTO)
    @ApiModelProperty("主键自增长")
    private Integer id;
    @ApiModelProperty("需求对接id")
    private Integer abutid;
    @ApiModelProperty("标题")
    private String title;
    @ApiModelProperty("内容")
    private String replycontent;

    public org.edu.modules.abutment.entity.VeAddonsAbutmentReply setId(Integer id) {
        this.id = id;
        return this;
    }

    @ApiModelProperty("是否配对状态：0 非配对  1 已配对")
    private Integer isright;
    @ApiModelProperty("发布时间")
    private Integer createtime;
    @ApiModelProperty("发布人  （如果是登陆用户则记录id，非登陆用户为0）")
    private Integer createuserid;
    @ApiModelProperty("发布者昵称（如果是登陆用户则获取记录用户姓名，非登陆用户必须提交")
    private String createname;
    @ApiModelProperty("终端id")
    private Integer terminalid;
    @ApiModelProperty("多租户id")
    private Integer placeId;

    public org.edu.modules.abutment.entity.VeAddonsAbutmentReply setAbutid(Integer abutid) {
        this.abutid = abutid;
        return this;
    }

    public org.edu.modules.abutment.entity.VeAddonsAbutmentReply setTitle(String title) {
        this.title = title;
        return this;
    }

    public org.edu.modules.abutment.entity.VeAddonsAbutmentReply setReplycontent(String replycontent) {
        this.replycontent = replycontent;
        return this;
    }

    public org.edu.modules.abutment.entity.VeAddonsAbutmentReply setIsright(Integer isright) {
        this.isright = isright;
        return this;
    }

    public org.edu.modules.abutment.entity.VeAddonsAbutmentReply setCreatetime(Integer createtime) {
        this.createtime = createtime;
        return this;
    }

    public org.edu.modules.abutment.entity.VeAddonsAbutmentReply setCreateuserid(Integer createuserid) {
        this.createuserid = createuserid;
        return this;
    }

    public org.edu.modules.abutment.entity.VeAddonsAbutmentReply setCreatename(String createname) {
        this.createname = createname;
        return this;
    }

    public org.edu.modules.abutment.entity.VeAddonsAbutmentReply setTerminalid(Integer terminalid) {
        this.terminalid = terminalid;
        return this;
    }

    public org.edu.modules.abutment.entity.VeAddonsAbutmentReply setPlaceId(Integer placeId) {
        this.placeId = placeId;
        return this;
    }

    public String toString() {
        return "VeAddonsAbutmentReply(id=" + getId() + ", abutid=" + getAbutid() + ", title=" + getTitle() + ", replycontent=" + getReplycontent() + ", isright=" + getIsright() + ", createtime=" + getCreatetime() + ", createuserid=" + getCreateuserid() + ", createname=" + getCreatename() + ", terminalid=" + getTerminalid() + ", placeId=" + getPlaceId() + ")";
    }


    public boolean equals(Object o) {
        if (o == this) return true;
        if (!(o instanceof org.edu.modules.abutment.entity.VeAddonsAbutmentReply)) return false;
        org.edu.modules.abutment.entity.VeAddonsAbutmentReply other = (org.edu.modules.abutment.entity.VeAddonsAbutmentReply) o;
        if (!other.canEqual(this)) return false;
        Object this$id = getId(), other$id = other.getId();
        if ((this$id == null) ? (other$id != null) : !this$id.equals(other$id)) return false;
        Object this$abutid = getAbutid(), other$abutid = other.getAbutid();
        if ((this$abutid == null) ? (other$abutid != null) : !this$abutid.equals(other$abutid)) return false;
        Object this$isright = getIsright(), other$isright = other.getIsright();
        if ((this$isright == null) ? (other$isright != null) : !this$isright.equals(other$isright)) return false;
        Object this$createtime = getCreatetime(), other$createtime = other.getCreatetime();
        if ((this$createtime == null) ? (other$createtime != null) : !this$createtime.equals(other$createtime))
            return false;
        Object this$createuserid = getCreateuserid(), other$createuserid = other.getCreateuserid();
        if ((this$createuserid == null) ? (other$createuserid != null) : !this$createuserid.equals(other$createuserid))
            return false;
        Object this$terminalid = getTerminalid(), other$terminalid = other.getTerminalid();
        if ((this$terminalid == null) ? (other$terminalid != null) : !this$terminalid.equals(other$terminalid))
            return false;
        Object this$placeId = getPlaceId(), other$placeId = other.getPlaceId();
        if ((this$placeId == null) ? (other$placeId != null) : !this$placeId.equals(other$placeId)) return false;
        Object this$title = getTitle(), other$title = other.getTitle();
        if ((this$title == null) ? (other$title != null) : !this$title.equals(other$title)) return false;
        Object this$replycontent = getReplycontent(), other$replycontent = other.getReplycontent();
        if ((this$replycontent == null) ? (other$replycontent != null) : !this$replycontent.equals(other$replycontent))
            return false;
        Object this$createname = getCreatename(), other$createname = other.getCreatename();
        return !((this$createname == null) ? (other$createname != null) : !this$createname.equals(other$createname));
    }

    protected boolean canEqual(Object other) {
        return other instanceof org.edu.modules.abutment.entity.VeAddonsAbutmentReply;
    }

    public int hashCode() {
        int PRIME = 59;
        Integer result = 1;
        Object $id = getId();
        result = result * 59 + (($id == null) ? 43 : $id.hashCode());
        Object $abutid = getAbutid();
        result = result * 59 + (($abutid == null) ? 43 : $abutid.hashCode());
        Object $isright = getIsright();
        result = result * 59 + (($isright == null) ? 43 : $isright.hashCode());
        Object $createtime = getCreatetime();
        result = result * 59 + (($createtime == null) ? 43 : $createtime.hashCode());
        Object $createuserid = getCreateuserid();
        result = result * 59 + (($createuserid == null) ? 43 : $createuserid.hashCode());
        Object $terminalid = getTerminalid();
        result = result * 59 + (($terminalid == null) ? 43 : $terminalid.hashCode());
        Object $placeId = getPlaceId();
        result = result * 59 + (($placeId == null) ? 43 : $placeId.hashCode());
        Object $title = getTitle();
        result = result * 59 + (($title == null) ? 43 : $title.hashCode());
        Object $replycontent = getReplycontent();
        result = result * 59 + (($replycontent == null) ? 43 : $replycontent.hashCode());
        Object $createname = getCreatename();
        return result * 59 + (($createname == null) ? 43 : $createname.hashCode());
    }


    public Integer getId() {
        return this.id;
    }

    public Integer getAbutid() {
        /* 40 */
        return this.abutid;
    }

    public String getTitle() {
        /* 43 */
        return this.title;
    }

    public String getReplycontent() {
        /* 46 */
        return this.replycontent;
    }

    public Integer getIsright() {
        return this.isright;
    }

    public Integer getCreatetime() {
        /* 52 */
        return this.createtime;
    }

    public Integer getCreateuserid() {
        /* 55 */
        return this.createuserid;
    }

    public String getCreatename() {
        /* 58 */
        return this.createname;
    }

    public Integer getTerminalid() {
        return this.terminalid;
    }

    public Integer getPlaceId() {
        /* 64 */
        return this.placeId;
    }
}

